package test;

public class derived extends Base {
    public void methodA(int a) {
        System.out.println("Derived中的methodA()方法");
    }

    public void methodB() {
        System.out.println("Derived中的methodB()方法");
    }

    public void methodC() {
        a = 100;
        b = 101;
        super.a = 200;
        super.b = 201;
        methodA();
        methodA(20);
        methodB();
        super.methodB();
    }
}
